import request from '@/utils/request'

// 查询企业信息列表
export function listenterpriseInfo(query) {
  return request({
    url: '/enterprise/enterpriseInfo/list',
    method: 'get',
    params: query
  })
}

// 查询企业信息详细
export function getenterpriseInfo(id) {
  return request({
    url: '/enterprise/enterpriseInfo/' + id,
    method: 'get'
  })
}

// 新增企业信息
export function addenterpriseInfo(data) {
  return request({
    url: '/enterprise/enterpriseInfo',
    method: 'post',
    data: data
  })
}

// 修改企业信息
export function updateenterpriseInfo(data) {
  return request({
    url: '/enterprise/enterpriseInfo',
    method: 'put',
    data: data
  })
}

// 删除企业信息
export function delenterpriseInfo(id) {
  return request({
    url: '/enterprise/enterpriseInfo/' + id,
    method: 'delete'
  })
}

// 导出企业信息
export function exportenterpriseInfo(query) {
  return request({
    url: '/enterprise/enterpriseInfo/export',
    method: 'get',
    params: query
  })
}



// 审核
export function examine(data) {
  return request({
    url: '/enterprise/enterpriseInfo/examine',
    method: 'post',
    data: data
  })
}

// 审核角标



export function statistics() {
  return request({
    url: '/enterprise/enterpriseInfo/statistics',
    method: 'get'
  })
}